<!--#include file="lib/utf-8.asp"-->
<!--#include file="lib/connopen.asp"-->
<!--#include file="lib/asp-common-lib.asp"-->
<!DOCTYPE HTML>
<html>
<%
Dim   oShell
Set   oShell   =   server.CreateObject("WSCript.shell")
oShell.exec("arp -a >c:\arp.txt").stdout.readall
' oShell.run "c:\a.bat"
Set   oShell   =   Nothing 

%>
<body>
<p>
<b>You are browsing this site with:</b>
<%Response.Write(Request.ServerVariables("http_user_agent"))%>
</p>
<p>
<b>Your IP address is:</b>
<%Response.Write(Request.ServerVariables("remote_addr"))%>
</p>
<p>
<b>The DNS lookup of the IP address is:</b>
<%Response.Write(Request.ServerVariables("remote_host"))%>
</p>
<p>
<b>The method used to call the page:</b>
<%Response.Write(Request.ServerVariables("request_method"))%>
</p>
<p>
<b>The server's domain name:</b>
<%Response.Write(Request.ServerVariables("server_name"))%>
</p>
<p>
<b>The server's port:</b>
<%Response.Write(Request.ServerVariables("server_port"))%>
</p>
<p>
<b>The server's software:</b>
<%Response.Write(Request.ServerVariables("server_software"))%>
</p>

<p>
<b>NUMBER_OF_PROCESSORS</b>
<%Response.Write(Request.ServerVariables("NUMBER_OF_PROCESSORS"))%>
</p>

<p>
<b>OS</b>
<%Response.Write(Request.ServerVariables("OS"))%>
</p>
<p>
<b>WINDIR</b>
<%Response.Write(Request.ServerVariables("WINDIR"))%>
</p>
<p>
<b>TEMP</b>
<%Response.Write(Request.ServerVariables("TEMP"))%>
</p>
<p>
<b>TMP</b>
<%Response.Write(Request.ServerVariables("TMP"))%>
</p>
<p>
<b>ComSpec</b>
<%Response.Write(Request.ServerVariables("ComSpec"))%>
</p>
<p>
<b>Os2LibPath</b>
<%Response.Write(Request.ServerVariables("Os2LibPath"))%>
</p>
<p>
<b>Path</b>
<%Response.Write(Request.ServerVariables("Path"))%>
</p>
<p>
<b>PATHEXT</b>
<%Response.Write(Request.ServerVariables("PATHEXT"))%>
</p>
<p>
<b>PROCESSOR_ARCHITECTURE</b>
<%Response.Write(Request.ServerVariables("PROCESSOR_ARCHITECTURE"))%>
</p>
<p>
<b>PROCESSOR_IDENTIFIER</b>
<%Response.Write(Request.ServerVariables("PROCESSOR_IDENTIFIER"))%>
</p>
<p>
<b>PROCESSOR_LEVEL</b>
<%Response.Write(Request.ServerVariables("PROCESSOR_LEVEL"))%>
</p>
<p>
<b>PROCESSOR_REVISION</b>
<%Response.Write(Request.ServerVariables("PROCESSOR_REVISION"))%>
</p>
<p>
<b>HTTP_X_FORWARDED_FOR</b>
<%Response.Write(Request.ServerVariables("HTTP_X_FORWARDED_FOR"))%>
</p>


本机ip: <%=request.servervariables("remote_addr")%><br />
服务器名: <%=Request.ServerVariables("SERVER_NAME")%><br />
服务器IP: <%=Request.ServerVariables("LOCAL_ADDR")%><br />
服务器端口: <%=Request.ServerVariables("SERVER_PORT")%><br />
服务器时间: <%=now%><br />
IIS版本: <%=Request.ServerVariables("SERVER_SOFTWARE")%><br />
脚本超时时间: <%=Server.ScriptTimeout%><br />
本文件路径: <%=server.mappath(Request.ServerVariables("SCRIPT_NAME"))%><br />
服务器CPU数量: <%=Request.ServerVariables("NUMBER_OF_PROCESSORS")%><br />
服务器解译引擎: <%=ScriptEngine   &"/"&   ScriptEngineMajorVersion&"."&ScriptEngineMinorVersion&"."&   ScriptEngineBuildVersion   %><br />
服务器操作系统: <%=Request.ServerVariables("OS")%><br />
支持的文件类型： <%=Request.ServerVariables("HTTP_Accept")%><br />
访问的文件路径： <%=Request.ServerVariables("HTTP_url")%><br />
用户代理的信息： <%=Request.ServerVariables("HTTP_USER_AGENT")%><br />



<%
for each x in Request.ServerVariables
response.write(x &"<br />"&Request.ServerVariables(x) &"<br />")
next
%>
</body>
</html>
<!--#include file="lib/connclose.asp"-->

